package com.flower.enjoyment.flower.service;

import com.flower.enjoyment.flower.entity.FlowerCardOrderDetail;
import com.flower.enjoyment.flower.entityDo.FlowerCardOrderDetailDo;
import com.github.pagehelper.Page;

public interface FlowersCardOrderDetailService {

    /**
     * 获取用户花享卡消费记录
     * @param pageNo
     * @param pageSize
     * @param userId
     * @return
     */
    Page<FlowerCardOrderDetailDo> getFlowerCardOrderListByPage(Integer pageNo, Integer pageSize,String userId);

    /**
     * 新增花享卡消费记录
    * @param flowerCardOrderDetail
     * @return
     */
    int insertFlowerCardOrderDetail (FlowerCardOrderDetail flowerCardOrderDetail);
}
